-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding flask mqtt example that uses tls/ssl #117
base: master
Are you sure you want to change the base?
Conversation
Hi |
remove whitespace at end of line
Hey ... cool .... it's been a while ;) |
Apologies for the delay. I will look into the PR over the weekend and update things here :) Just a quick comment: |
well at first I thought they might differ in some way (like extra ssl module) but yes they are equal right now and there's is no need to separate as it looks right now. it's just that personally I think would keep it separate in case some other example would be added which might have different module requirements. but even then I think it can be argued that for the examples we can have a single requirements file that would include everything needed by all examples. |
I think having a smaller change is better so we can have only one requirements and environment files for all the examples. That will allow for simpler change and it will be simple for anyone who uses it as well. So, I would suggest that we have only one |
next round ;) |
hrmm ... well I admit I have not used conda ... so not sure how / if it works. $ mkvirtualenv -r requirements.txt flask_mqtt_example this however lead to a few problems with some of the version ... I have updated (not pushed) the requirements.txt file. which conda command would you be using? (if you are using it ... or otherwise how do u use the environment.yaml file?) |
I think changing the |
To use the You can test if the version problems occur here as well and then update both simultaneously? :) |
thx |
Thank you so much for the work :) |
I want to add one more comment. Line 32 in 5c24fcf
Code from line 32-36 adds the hint for adding tls/ssl. Just for discussion, how do you think your example needs a separate example file? I was looking into the master |
oh .. well another good question. so I could think of guarding that section with something like |
One idea of doing this can be that you add the logic to the existing On top of that, you can also add a section in the |
will check this .... hold on ;) |
@lefty01 any update on this PR you created? |
…mented section to the existing example
gee .. yeah that was dangling around for a long time. |
Looks fine to me @lefty01. I think you fixed some issues. I would like to ask you to add some test cases to support your PR |
After that I think this is good to go :) |
tls example with test.mosquitto.org certs